local keji = fk.CreateSkill({
    name = "sj6__keji",
  })
  
  Fk:loadTranslationTable{
    ["sj6__keji"] = "克己",
    [":sj6__keji"] = "出牌阶段限一次，你可以重铸任意张牌，若其中有【杀】或【酒】，你摸一张牌。",
    
    ["#sj6__keji"] = "克己：你可以重铸任意张牌，若其中有【杀】或【酒】，你摸一张牌",

    ["$sj6__keji1"] = "任其妄为无所动，守得云开见月明。",
    ["$sj6__keji2"] = "任凭风浪起，稳坐钓鱼船。",
  }

  keji:addEffect("active", {
    prompt = "#sj6__keji",
    anim_type = "drawcard",
    min_card_num = 1,
    target_filter = Util.FalseFunc,
    can_use = function(self, player)
      return player:usedSkillTimes(keji.name, Player.HistoryPhase) < 1 and not player:isNude()
    end,
    on_use = function(self, room, effect)
      local player = effect.from
      room:recastCard(effect.cards, player, keji.name)
      if table.find(effect.cards,function (id)
        local c = Fk:getCardById(id)
        return c.trueName == "slash" or c.name == "analeptic"
      end) then
        player:drawCards(1,keji.name)
      end
    end,
  })

  return keji